.ewa-frame>tbody>tr>.EWA_TD_M>span, .ewa-frame>tbody>tr>.EWA_TD_M>a {
	margin: 0 4px;
}

/* 手写签名 */
.ewa-sign-box {
	border: 1px solid #eee;
}

.ewa-sign-btns {
	border-top: 1px solid #eee;
	line-height: 40px;
	text-align: center;
	display: flex;
}

.ewa-sign-btns a {
	flex: 1;
}

.ewa-sign-btn-clear::before {
	content: "清除内容";
}

.ewa-sign-btn-revoke::before {
	content: "撤销上一步"
}

.enus .ewa-sign-btn-clear::before {
	content: "Clear tablet";
}

.enus .ewa-sign-btn-revoke::before {
	content: "Revoke last"
}
/* 密码输入框和密码查看 */
.ewa-input-password-with-eye {
	position: relative;
	display: inline-block;
	z-index: 0;
	width: 100%;
}

.ewa-input-password-with-eye a {
	font-family: "FontAwesome";
	position: absolute;
	right: 9px;
	line-height: 24px;
	height: 24px;
	top: 50%;
	margin-top: -12px;
}

.ewa-input-password-with-eye a::after {
	content: "\f06e";
	color: #ccc;
}

.ewa-input-password-with-eye a[open]::after {
	content: "\f070";
	color: orangered;
}
/* 翻译按钮 */
.ewa-filter-chks {
	height: 90px;
	overflow: auto;
}

.ewa-filter-checked {
	border-bottom: 1px solid #ccc;
	line-height: 1.8;
}

.ewa-filter-char-num {
	font-size: 9px;
}

.ewa-but-trans-float {
	position: absolute;
	display: block;
	right: 2px;
	top: 2px;
	border: 1px solid;
	padding: 2px 4px;
	border-radius: 5px;
}
/* switch 开关 */
.ewa-switch {
	position: relative;
}

.ewa-switch-info {
	position: absolute;
	left: 5px;
	top: 50%;
	height: 20px;
	line-height: 20px;
	margin-top: -10px;
}

.ewa-switch input[type=checkbox] {
	width: 36px;
	height: 21px;
	position: relative;
	border: 1px solid #dfdfdf;
	background-color: #fdfdfd;
	box-shadow: #dfdfdf 0 0 0 0 inset;
	border-radius: 20px;
	background-clip: content-box;
	display: block;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	user-select: none;
	outline: none;
	cursor: pointer;
	margin: 0 auto;
}

.ewa-frame .ewa-switch input[type=checkbox] {
	margin: 0;
}

.ewa-frame-cols-1 .ewa-switch:after {
	content: "";
	display: block;
	clear: both;
}

.ewa-frame-cols-1 .ewa-switch input[type=checkbox] {
	float: right;
}

.ewa-switch input[type=checkbox]::before {
	content: '';
	width: 19px;
	height: 19px;
	position: absolute;
	top: 0px;
	left: 0;
	border-radius: 100%;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	transition: left 0.3s;
}

.ewa-switch input[type=checkbox]:checked {
	box-shadow: #dfdfdf 0 0 0 0 inset;
	background-color: #64bd63;
	transition: border-color 0.4s, background-color ease 0.4s;
}

.ewa-switch input[type=checkbox]:checked:before {
	right: 0px;
	left: auto;
}

.ewa-switch input[type=checkbox]:disabled {
	background-color: #eee;
}
.ewa-switch input[type=checkbox]:disabled::before {
	background-color: #eee;
}

.ewa-select-filter-char {
	width: 60px;
}

.ewa-select-filter-char select {
	width: 58px;
}

.ewa-select-filter-target select {
	width: 99%;
}
/* FRAME 分组样式 */
.EWA_GROUP {
	font-weight: bold;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 2px;
	background-color: #f1f1f1;
	color: #c96702;
}

/* FRAME 分组TAB样式 */
.EWA_GROUP_CNT_TOP {
	min-width: 70px;
	text-align: center;
	height: 25px;
	line-height: 25px;
	border: 1px solid #aaa;
	float: left;
	margin-left: 4px;
	background-color: #ccc;
	margin-top: 10px;
	cursor: pointer;
	color: #000;
	padding: 0 5px;
}

/* FRAME 分组TAB选中样式 */
.EWA_GROUP_CNT_TOP1 {
	min-width: 70px;
	text-align: center;
	height: 30px;
	line-height: 30px;
	border: 1px solid #fff;
	float: left;
	margin-left: 4px;
	margin-top: 5px;
	background-color: #f1f1f1;
	cursor: pointer;
	font-weight: bold;
	color: #c96702;
}

/* FRAME 分组TAB样式 底部 */
.EWA_GROUP_CNT_BOTTOM {
	width: 70px;
	text-align: center;
	height: 25px;
	border: 1px solid #aaa;
	float: left;
	margin-left: 4px;
	padding-top: 5px;
	background-color: #ccc;
	margin-top: -3px;
	cursor: pointer;
	color: #000;
}

/* FRAME 分组TAB选中样式 底部 */
.EWA_GROUP_CNT_BOTTOM1 {
	width: 70px;
	text-align: center;
	height: 30px;
	border: 1px solid #fff;
	float: left;
	margin-left: 1px;
	padding-top: 7px;
	background-color: #f1f1f1;
	margin-top: -3px;
	cursor: pointer;
	font-weight: bold;
	color: #c96702;
}

/* 表主样式 */
.EWA_TABLE {
	background-color: #BBB;
	width: 100%;
	border-spacing: 1px;
}

/* 表头部 */
.EWA_TD_H {
	font-weight: bold;
	text-align: center;
	height: 26px;
	color: #333;
	background-color: #F8F8F8;
	white-space: nowrap;
	background-image: none;
}
/* 表头部 */
.EWA_TD_HA {
	color: #000;
	text-decoration: underline;
}

/* 表内容 */
.EWA_TD {
	height: 25px;
	padding-left: 4px;
	background-color: lightyellow;
	font-weight: bold;
	width: 100%;
}

/* 表内容 */
.EWA_TD_1 {
	width: 100%;
	background-color: #fff;
}

/* Frame 左部 */
.EWA_TD_L, .EWA_TD_R, .EWA_TD_M, .EWA_TD_B {
	height: 24px;
	background-color: white;
}

/* Frame 左部 */
.EWA_TD_L {
	width: 100px;
	padding-left: 4px;
}
/* Frame 中部 */
.EWA_TD_R {
	width: 200px;
	padding-left: 4px;
}

/* Frame 按钮 */
.EWA_BUTTON {
	border: 1px solid #dcdcdc;
	border-top: 1px solid white;
	border-left: 1px solid white;
	border-right: 1px solid gray;
	border-bottom: 1px solid gray;
	padding-top: 3px;
	background-color: #cccccc;
	color: white;
}

/* Frame 输入框 */
.EWA_INPUT, .EWA_VALID, .EWA_TEXTAREA {
	border: 1px solid #ccc;
	width: 99.8%;
	background-color: white;
	border-radius: 4px;
	padding: 2px 5px;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	margin: auto;
}

/* Frame 文本框 */
.EWA_TEXTAREA {
	height: 100px;
}
.ewa-textarea-auto-size {
	display: block;
}
.ewa-with-icon {
	position: relative;
}

.ewa-with-icon>label.fa {
	line-height: 24px;
	width: 25px;
	text-align: center;
	position: absolute;
	color: #ccc;
	top: 50%;
	margin-top: -12px;
	height: 24px;
	z-index: 1;
}

.ewa-tag-textarea>label.fa {
	top: 0;
	margin-top: 0;
}

.ewa-with-icon-left>label.fa {
	left: 0;
}

.ewa-with-icon-right>label.fa {
	right: 0;
}

.ewa-with-icon-left .EWA_INPUT, .ewa-with-icon-left .EWA_TEXTAREA {
	padding-left: 25px !important;
}

.ewa-with-icon-right .EWA_INPUT, .ewa-with-icon-right .EWA_TEXTAREA {
	padding-right: 25px !important;
}
/* Frame 验证 */
.EWA_VALID {
	width: 40px;
}

/* Frame 选择 */
.EWA_SELECT {
	width: 100%;
	box-sizing: border-box;
}

/* Frame DHTML */
.EWA_DHTML {
	height: 220px;
	width: 100%;
}

.ewa-markdown-editor {
	height: 320px;
	width: 100%;
}
/* SQL编辑 */
.ewa_sql_editor {
	height: 300px;
	width: 100%;
}

.ewa_sql_editor>div {
	height: 100%;
}

.ewa_merge_tab {
	height: 25px;
	border: 1px solid gray;
	background-color: #f1f1f1;
	width: 70px;
	text-align: center;
	margin-left: 3px;
	color: #000;
	cursor: pointer;
	padding: 5px;
}

.ewa_merge_tab1 {
	height: 25px;
	border: 1px solid gray;
	background-color: #aaa;
	color: #fff;
	width: 70px;
	text-align: center;
	margin-left: 3px;
	cursor: pointer;
	padding: 5px;
}

.EWA_FRAME_GROUP_TITLE {
	font-size: 16px;
	line-height: 19px;
	font-weight: bold;
	padding: 5px;
	color: darkblue;
	text-shadow: rgb(224, 224, 224) 0px 1px 0px;
	background: linear-gradient(#ccc 20%, #fff);
	text-align: center;
}

.EWA_FRAME_GROUP_BUTTONS {
	padding: 5px;
	background: linear-gradient(#fff 50%, #ccc);
	text-align: right;
	border-top: 1px solid #ccc;
}

.ewa_but_blue {
	background-color: darkblue;
	color: #fff;
	background: linear-gradient(blue 50%, darkblue);
	cursor: pointer;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 4px;
	padding-bottom: 4px;
	box-shadow: drakblue 0px 2px 1px -1px inset;
	font-weight: normal;
	border: 1px;
	border-radius: 5px;
}

input[type=submit], input[type=button], button, .IX_BUTTON {
	display: inline-block;
	margin: 0 4px;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border-radius: 4px;
	font-weight: normal;
	padding: 3px 10px;
}

input[type=submit] {
	background-color: #337ab7;
	color: #fff;
	font-weight: normal;
	border: 1px solid #2e6da4;
}

input[type=submit]:hover {
	color: #fff;
	background-color: #286090;
	border-color: #204d74;
}

input[type=button], button {
	color: #333;
	background-color: #fff;
	border: 1px solid #ccc;
}

input[type=button]:hover, button:hover {
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}

.EWA_INPUT:read-only, .EWA_TEXTAREA:read-only {
	background: #eee;
}

select:disabled, textarea:disabled, input:disabled, .ewa-ipt-droplist:disabled, .ewa-ipt-date:disabled, button:disabled
	{
	background: #eee;
	pointer-events: none;
	color: #111;
}

input[type=button]:disabled, button:disabled {
	box-shadow: none;
	opacity: .65;
}

input[type=submit]:disabled {
	background-color: #337ab7;
	border-color: #2e6da4;
}

label[ewadisabled] {
	color: #999;
	pointer-events: none;
}

.ewa-editor[ewadisabled] .btn {
	color: #999;
	pointer-events: none;
}

.ewa_cb_subject .ewa_lf_func_caption, .ewa_cb_caption {
	padding-top: 2px;
	cursor: pointer;
	height: 20px;
	padding-left: 10px;
	padding-right: 0px;
	font-weight: bold;
}

.ewa_cb_box .EWA_TABLE {
	background-color: #eee;
}

.ewa_cb_left {
	padding-left: 5px;
	padding-right: 5px;
	width: 99%;
	overflow-x: auto;
}

.ewa_redraw_ctl {
	width: 110px;
	background-color: #fff;
}

.ewa_redraw_info {
	background-color: #fff;
	width: 90px;
	border-left: 2px solid #fff;
	height: 22px;
	line-height: 22px;
}

.ewa_redraw_info .ewa_d0 {
	width: 88px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ewa_redraw_info .ewa_d1 {
	width: 78px;
	overflow: hidden;
	text-overflow: ellipsis;
	float: left;
	white-space: nowrap;
}

.ewa_redraw_info .ewa_must {
	color: pink;
	float: right;
}

.ewa-valid-code-img {
	height: 25px;
}

.ewa-sms-valid-box .ewa-sms-valid-code-button {
	width: 101px;
	border: 1px solid rgb(255, 255, 255);
	background: lightsalmon;
	border-radius: 5px;
}

.ewa-sms-valid-box .ewa-sms-valid-code-button:disabled {
	pointer-events: none;
}
/** ipt **/
.ewa-ipt-droplist {
	background-color: lightyellow;
}

/* 身份证 或 移动电话号码 */
.ewa-text-help-box {
	position: absolute;
	display: none;
	background-color: #ccc;
	box-shadow: #08c 1px 2px 13px;
}

.ewa-text-help-box div {
	color: #08c;
	font-weight: bold;
	height: 18px;
	line-height: 18px;
	width: 12px;
	text-align: center;
	border: 1px solid #ccc;
	margin-right: 1px;
	float: left;
}
/* error tip*/
tr[error] .ewa-tip-error {
	position: relative;
	height: 0;
	padding: 0;
}

tr[error] .ewa-tip-error-info {
	position: absolute;
	top: 4px;
	z-index: 1;
	line-height: 30px;
	color: orange;
	right: 10px;
	min-width: 90px;
	max-width: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid orange;
	padding-right: 4px;
}

tr[error] .ewa-tip-error-info:before {
	content: "\f05a";
	font-family: FontAwesome;
	color: orange;
	margin-left: 4px;
	margin-right: 4px;
	font-size: 130%;
}

tr[error] .ewa-tip-error:before {
	content: "";
	width: 8px;
	height: 8px;
	border: 1px solid orange;
	position: absolute;
	top: 0px;
	right: 34px;
	transform: rotate(45deg);
	z-index: 0;
	background: #fff;
}

tr[error] .ewa-tip-error:after {
	content: "";
	width: 10px;
	height: 0;
	border-top: 1px solid #fff;
	position: absolute;
	right: 34px;
	z-index: 2;
	top: 4px;
}
/* 在对话框里限制frame高度为，通过参数 ewa_in_dialog=1 增加 */
.ewa-in-dialog {
	height: calc(100vh - 48px);
	overflow: auto;
	margin-bottom: 50px;
	min-height: 380px;
	padding-top: 2px;
	box-sizing: border-box;
}
/* 将按钮栏固定在底部 */
.ewa-in-dialog .EWA_TD_B {
	position: fixed;
	bottom: 0px;
	height: 48px;
	display: block;
	width: 100%;
	left: 0;
	background-color: aliceblue;
}

.ewa-in-dialog .EWA_TD_B input {
	margin-top: 10px;
	margin-right: 10px;
}